<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/tld/fn.tld" prefix="fn" %>
<%@ taglib uri="/WEB-INF/tld/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/tld/core.tld" prefix="c" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
int type=1;
if(request.getParameter("type")!=null&&request.getParameter("type").trim()!=""){
	type=Integer.parseInt(request.getParameter("type"));}

session.setAttribute("ssoclientagent.user","00006");
boolean flag=false;
if(session.getAttribute("ssoclientagent.user")!=null){flag=true;}
	
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath %>" />
<meta http-equiv="Content-Language" content="zh-cn"/>
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"/>
<link rel="shortcut icon" href="images/favicon.ico" />
<link href="css/global.css" type="text/css" rel="stylesheet" media="all"/>
<link href="css/hotel.css" type="text/css" rel="stylesheet" media="all"/>
<link href="css/datepicker.css" type="text/css" rel="stylesheet"/>
<link href="css/datepicker1.css" type="text/css" rel="stylesheet"/> 
 <SCRIPT src="script/jquery-1.4.2.min.js" type="text/javascript"></SCRIPT>
<script type="text/javascript" src="script/jquery.header.js"></script>
</head>
<body>
<!--Header Begin-->
<!--Header include start-->
<DIV id="header">
<DIV id="header-inner">
<DIV id="top">
</DIV>
<div id="logo"></div>
    <div id="Banner" style="" onclick="javascript:location.href='http://tuan.yofogo.com:80';"></div>
<!-- div id="toolkit" style="display:none" -->
<DIV id="toolkit">
  <div align="center">
  <%
  	if(flag==false){
  %>
    <UL>
      <LI class="welcome_txt">欢迎来到享自游中心 </LI>
      <LI class="login_info"><A class="login_link" onClick="loginDeal();return false;" 
  href="#">登录</A> | <A class="login_register" 
  onclick="registerDeal();return false;" href="#">注册</A> | 
        <A class="help_link" href="help/">帮助中心</A> 
      </LI>
    </UL>
 <%}if(flag==true){ %>
    <UL>
      <LI class="welcome_txt">欢迎来到享自游中心 </LI>
      <LI class="login_info"><A class="login_link" 
  href="/hfcz/order.do"><%=session.getAttribute("ssoclientagent.user")%></A> | <A class="login_register" 
  onclick="loginOut();return false;" href="#">退出</A> 
        <A class="help_link" href="help/"> |帮助中心</A> 
      </LI>
    </UL>
    <%}%>
  </div>
</DIV></DIV>
<DIV id="nav">
<DIV class="tel">客服热线：400-880-7667<SPAN></SPAN></DIV>
<UL>
  <LI class="<%=type==1?"current":"" %>"><SPAN class="nav_Litem">&nbsp;</SPAN><A 
  href="/">首页</A><SPAN class="nav_Ritem">&nbsp;</SPAN> </LI>
  <LI class="<%=type==3?"current":"" %>"><SPAN class="nav_Litem">&nbsp;</SPAN><A 
  href="flight/">订机票</A><SPAN class="nav_Ritem">&nbsp;</SPAN>  </LI>
  <LI class="<%=type==2?"current":"" %>"><SPAN class="nav_Litem">&nbsp;</SPAN><A 
  href="hotel/">订酒店</A><SPAN 
  class="nav_Ritem">&nbsp;</SPAN> </LI>
   <LI class="<%=type==4?"current":"" %>"><SPAN class="nav_Litem">&nbsp;</SPAN><A 
  href="hfcz/">手机充值</A><SPAN 
  class="nav_Ritem">&nbsp;</SPAN> </LI>
  <LI class="<%=type==5?"current":"" %>"><SPAN class="nav_Litem">&nbsp;</SPAN><A 
  href="hfcz/tel.jsp">固话充值</A><SPAN 
  class="nav_Ritem">&nbsp;</SPAN> </LI>
  <LI><SPAN class="nav_Litem">&nbsp;</SPAN>
  <%if(flag==false){ %>
  <A href="javascript:void(0)" onclick="toYfg('0');return false;" style="color: #D63F73">有享网</A><%} %>
  <%if(flag==true){ %>
  <A href="javascript:void(0)" onclick="toYfg('1');return false;" style="color: #D63F73">有享网</A><%} %>
  <SPAN 
  class="nav_Ritem">&nbsp;</SPAN></LI>
  </UL>
  <%if(session.getAttribute("ssoclientagent.user")!=null){ %>
 <UL class="tagus">
  <LI class="mydata"><A href="javascript:void(0)">我的订单</A> 
  <UL>
    <LI><A href="/hfcz/order.do">&nbsp;【手机充值】</A> 
    </LI>
    <LI><A href="/flight/order.do?op=list">&nbsp;【机票订单】</A> 
    </LI>
    <LI><A href="/hotel/order.do">&nbsp;【酒店预订】</A></LI>
    </UL></LI></UL><%} %></DIV></DIV>
</body></html>